﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using LuxDiner.Model.Financial;
using LuxDiner.Command.Financial;
namespace LuxDiner.Logic.Financial
{
    public class BankLogic
    {
        public static BankModel CreateNew(BankModel model)
        {
            return BankCommand.CreateNew(model);
        }

        public static void Update(BankModel model)
        {
            BankCommand.Update(model);
        }

        public static BankModel GetModel(int id)
        {
            return BankCommand.GetModel(id);
        }

        public static BankCollection GetBanks()
        {
            return BankCommand.GetBanks();
        }

        public static void Delete(int id)
        {
            BankCommand.Delete(id);
        }
    }
}
